﻿using System;
using StudentWeb.Common;

namespace StudentWeb.Model
{
	/// <summary>
	/// TgqGoodsData
	/// </summary>
    [Serializable]
	public class TgqGoodsData
	{
		/// <summary>
		/// TgqGoodsDataID
        /// </summary>
        [FieldName("TgqGoodsDataID")]		
		public int TgqGoodsDataID
		{
			get;
			set;
		}
        
		/// <summary>
		/// TgqGoodsName
        /// </summary>
        [FieldName("TgqGoodsName")]		
		public string TgqGoodsName
		{
			get;
			set;
		}
        
		/// <summary>
		/// TgqPriceSell
        /// </summary>
        [FieldName("TgqPriceSell")]		
		public decimal TgqPriceSell
		{
			get;
			set;
		}
        
		/// <summary>
		/// TgqPricePost
        /// </summary>
        [FieldName("TgqPricePost")]		
		public decimal TgqPricePost
		{
			get;
			set;
		}
        
		/// <summary>
		/// TgqStock
        /// </summary>
        [FieldName("TgqStock")]		
		public int? TgqStock
		{
			get;
			set;
		}
        
		/// <summary>
		/// TgqGoodsInfo
        /// </summary>
        [FieldName("TgqGoodsInfo")]		
		public string TgqGoodsInfo
		{
			get;
			set;
		}
        
		/// <summary>
		/// TgqRegDataTime
        /// </summary>
        [FieldName("TgqRegDataTime")]		
		public DateTime TgqRegDataTime
		{
			get;
			set;
		}
        
        public TgqGoodsData Clone()
        {
            return (TgqGoodsData)this.MemberwiseClone();
        }
        
        public TgqGoodsData()
        {
            TgqGoodsName = string.Empty;
            TgqGoodsInfo = string.Empty;
            TgqRegDataTime = ConvertHelper.DefaultDate;
        }
	}
}
